﻿namespace WriteForFighting.FightingAPI
{
    public sealed class EntityInfo
    {
        /// <summary>
        /// X座標
        /// </summary>
        public double X { get; private set; }

        /// <summary>
        /// Y座標
        /// </summary>
        public double Y { get; private set; }

        /// <summary>
        /// 向き(ラジアン)
        /// </summary>
        public double Angle { get; private set; }

        /// <summary>
        /// ダメージを受けていない時の体力
        /// </summary>
        public int MaxHealth { get; private set; }

        /// <summary>
        /// 現在の体力
        /// </summary>
        public int Health { get; private set; }

        
        public EntityInfo(double par1X, double par2Y, double par3Angle,
            int par4MaxHealth, int par5Health)
        {
            X = par1X;
            Y = par2Y;
            Angle = par3Angle;
            MaxHealth = par4MaxHealth;
            Health = par5Health;
        }
    }
}
